package mongoid

import "go.mongodb.org/mongo-driver/bson/primitive"

// 创建mongo的ObjectId
func GenMongoObjectID() primitive.ObjectID {
	return primitive.NewObjectID()
}

// 创建mongo的ObjectId
func GenMongoID() string {
	return primitive.NewObjectID().String()
}
